package com.cdplife.ci.modular.system.service.impl;

import com.cdplife.ci.modular.system.model.Insurance;
import com.cdplife.ci.modular.system.model.Tenant;
import com.cdplife.ci.modular.system.dao.TenantMapper;
import com.cdplife.ci.modular.system.service.ITenantService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

/**
 * <p>
 * 客户表 服务实现类
 * </p>
 *
 * @author jers
 * @since 2018-11-07
 */
@Service
public class TenantServiceImpl extends ServiceImpl<TenantMapper, Tenant> implements ITenantService {

	@Override
	public List<Map<String, Object>> selectTenantList(String condition) {
		return this.baseMapper.selectTenantList(condition);
	}

	@Override
	public Tenant getByTenantCode(String tenantCode) {
		return this.baseMapper.getByTenantCode(tenantCode);
	}
	
	
	
}
